package com.azier.kapacitor.script.method;

import com.azier.kapacitor.script.arg.SingleQuotesArg;

import java.util.ArrayList;

/**
* 1 * @Author: luoj
* 2 * @Date: 2019/11/8 11:27
* 3
*/
public class Header extends AbstractMethod {
    private static final String name = "header";
    /**
    Add a header to the POST request
    **/
    /**
    将标题添加到POST请求
    **/
    public Header(String v, String k) {
        super(new ArrayList<>(), name);
        //
        this.args.add(new SingleQuotesArg(v));


        //
        this.args.add(new SingleQuotesArg(k));


    }
}
